import { CommandAccount } from "./base"
import Insert from "../insert";

@Insert 
export class CommandAccountChangeFile extends CommandAccount {
    constructor() {
        super()
        this.name = "切换账号(文件)"
        this.detail = "账号[切换账号,$文件$]"
        this.insert = "账号[切换账号,${1:文件}]"
        this.docs = "宝可梦软件目录下account中的文件名"
    }
}

@Insert 
export class CommandAccountChangeUser extends CommandAccount {
    constructor() {
        super()
        this.name = "切换账号"
        this.detail = "账号[切换账号,$账号$,$密码$]"
        this.insert = "账号[切换账号,${1:账号},${2:密码}]"
        this.docs = ""
    }
}

@Insert 
export class CommandAccountLogin extends CommandAccount {
    constructor() {
        super()
        this.name = "登录游戏"
        this.detail = "账号[登录游戏]"
        this.insert = "账号[登录游戏]"
        this.docs = ""
    }
}

@Insert 
export class CommandAccountEnter extends CommandAccount {
    constructor() {
        super()
        this.name = "进入游戏"
        this.detail = "账号[进入游戏]"
        this.insert = "账号[进入游戏]"
        this.docs = ""
    }
}

@Insert 
export class CommandAccountChangeRole extends CommandAccount {
    constructor() {
        super()
        this.name = "切换角色"
        this.detail = "账号[切换角色,0]"
        this.insert = "账号[切换角色,${1:0}]"
        this.docs = "切换角色后,自动登录游戏.\n0表示第一个角色,内存配置存在账号的情况下,\n切换角色大退了会自动登录,然后切换"
    }
}

@Insert 
export class CommandAccountChangeNextRole extends CommandAccount {
    constructor() {
        super()
        this.name = "切换下个角色"
        this.detail = "账号[切换下个角色]"
        this.insert = "账号[切换下个角色]"
        this.docs = "下一个,没有下一个则不切换\n内存配置存在账号的情况下,切换角色大退了会自动登录,然后切换"
    }
}

@Insert 
export class CommandAccountCreateRole extends CommandAccount {
    constructor() {
        super()
        this.name = "创建角色"
        this.detail = "账号[创建角色,$门派$]"
        this.insert = "账号[创建角色,${1:门派}]"
        this.docs = "门派枚举:\n1.青云门\n2.焚香谷\n3.天音寺\n4.合欢派\n5.圣巫教\n6.鬼王宗\n7.苍羽阁\n8.灵音殿\n9.梵天宫\n10.森罗殿\n11.意气盟"
    }
}

@Insert 
export class CommandAccountBackRoleSelect extends CommandAccount {
    constructor() {
        super()
        this.name = "返回角色选择"
        this.detail = "账号[返回角色选择]"
        this.insert = "账号[返回角色选择]"
        this.docs = ""
    }
}

@Insert 
export class CommandAccountExitGame extends CommandAccount {
    constructor() {
        super()
        this.name = "退出游戏"
        this.detail = "账号[退出游戏]"
        this.insert = "账号[退出游戏]"
        this.docs = ""
    }
}

@Insert 
export class CommandAccountBuy extends CommandAccount {
    constructor() {
        super()
        this.name = "福缘购买"
        this.detail = "账号[福缘购买,$道具$,$数量$]"
        this.insert = "账号[福缘购买,${1:道具},${2:1}]"
        this.docs = ""
    }
}